import React, { memo } from 'react'

function Button({add}) {
  console.log('Button run');
  return (
    <button onClick={add}>新增</button>
  )
}

export default memo(Button);